How do you Lock Position/Rotation programmatically from Blueprint?

Did you find a solution?