'01 PT Cruiser Dor Locks

'01 PT Cruiser, 77771 miles. Key fob will unlock doors but will not lock doors. Same things with the inside power lock control at the top of the both front door arm rest. All door locks will lock when you start driving though. Any ideas on what the problem could be?

Thanks,

Regan