If you have just built your Ottoman bed and it won't close this is not unusual.
The pistons are designed to stop the bed suddenly closing, this is a safety feature so that you do not get trapped underneath.
When first built they can be stiff and when you first close the bed you will need to put the mattress and some weight on the bed to push it closed.