That's actually very unusual for beams for a loft conversion, the usual practise is to place the beams above the existing ceiling and them suspend the new floor from the beams between the ceiling joists or place it between the web of the beam.
Regarding a lock, So long as the door is a fire door with the correct intumescent strip and fire stops, has a catch and pergo closure, that's enough to satisfy Building control