cramp one's style

[cramp one's style] {v. phr.}, {informal} To limit your natural freedom; prevent your usual behavior; limit your actions or talk.

He cramped his style a good deal when he lost his money.

Army rules cramped George's style.