I just would like to know if the following sentences are possible. Thank you.

She wasn't allowed to enter the bus.(or get on/take the bus?)
The price of sugar increased of 20% (better by?)

1. All of those possibilities are correct.

2. The price of sugar increased by 20%.