All locks to at least one door to any room or walk in storage area inside a foster home in which a person could become confined, and from which the only other means of exit requires the use of a key, shall be able to be unlocked from either side. Locking of the children's bedroom doors while children are sleeping is prohibited. Locking of outside doors and fencing around a yard or outside play area is permitted.
Here's the bottom line. If a child (of any age) can crawl into any enclosed space in your home... the smallest closet, storage space, or unused decorative area... you cannot use a lock that cannot be opened from inside the space.
If you need some advice or assistance, don't hesitate to check with your Clinician or Licensing.